/******************************************************************************************
 * Import
 ******************************************************************************************/

// module
import React, {Component} from 'react';
import {View} from 'react-native';
import { TextareaItem, Button, Icon,List } from 'antd-mobile-rn';


// project
import {
    CAround, CBetween, CCenter, CColumn, CHand, CItemX, CItemY, CLine, CRow, CWrap, 
    CIcon, CImage, CSvg, CText,
    CContent, CFloat, CFooter, CHeader, CPage, CSide, 
    CEmpty, CError, CFail, CSkeleton, 
    CLabel, CButton
} from '../../../library/comp';

import Licon from '../../../library/comp/project/icon';



/******************************************************************************************
 * Export Class
 ******************************************************************************************/

export default class RepairDetail extends Component {

    /*------------------------------------------------------------------------------------
	 * 初始化
	 *-----------------------------------------------------------------------------------*/
	constructor(props) {
        super(props);
        /**
         * state
         */
		this.state = {}
    }

    /*------------------------------------------------------------------------------------
	 * 渲染
	 *-----------------------------------------------------------------------------------*/
	render() {
		return (
			<CPage>
				
				<CContent mt='96' bg='#efeff4'>
                    <View style={{backgroundColor:'#fff',marginTop:10, marginBottom:20, paddingLeft:15,paddingRight:15,paddingBottom:30}}>

                        <CRow h='80' y='center' >
                            <CText size='26'>报修事项</CText>
                        </CRow>

                        <List>
                            <TextareaItem 
                            rows={4} 
                            placeholder="请填写你需要报修的事项" 
                            style={{ paddingVertical: 5, borderRadius:5, borderColor:"#eee", borderWidth:1, borderBottomWidth:2, fontSize:14 }} 
                            />
                        </List>
                    </View>
                    
                    {/* 提交按钮 */}
                    <View style={{ paddingLeft:10, paddingRight:10, marginTop:20}}>
                        <Button style={{backgroundColor:'#26c75e',borderWidth:0}}><CText color='#fff' size="30">提交报修</CText></Button>
                    </View>
                   
				</CContent>
				
                {/* 顶部 star */}
                <CHeader h='96' y='center' bg='#fff'>
                    <CBetween px='20'>
                        <CHand onPress={(e)=> {
                            this.Nav.goBack()
                        }}>
                            <Icon type='left' size='md' color='#00CC66' />
                        </CHand>

                        <CText size='34'>报修</CText>
                        <CHand w='44' h='44'></CHand>
                    </CBetween>
                </CHeader>
                {/* 顶部 star */}
                
			</CPage>
		);
	}
}
